package msu.ml.util;

public class CommandLineOption
{
   public String name;
   public String shortcut;
   public String value;
   public boolean required;
   public boolean ordered;

   public CommandLineOption() {}

   public CommandLineOption(String shortcut, String name)
   {
      this.shortcut = shortcut;
      this.name = name;
   }

   public double getValueAsDouble()
   {
      return Double.parseDouble(value);
   }

   public int getValueAsInt()
   {
      return Integer.parseInt(value);
   }
}
